﻿using MediatR;
using Process.ErrorCode;
using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace Process.API.Application.Command.Action.Report
{
    public class UpdReportCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 报工主键
        /// </summary>
       
        public int ReportId { get; set; }
        /// <summary>
        /// 派工编号
        /// </summary>
        public string DispatchCode { get; set; }
        /// <summary>
        /// 派工名称
        /// </summary>
        public string DispatchName { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string ProductionOrdersCode { get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        public string ProductionOrdersName { get; set; }
        /// <summary>
        /// 站点名称
        /// </summary>
        public string SiteName { get; set; }
        /// <summary>
        /// 工艺流程
        /// </summary>
        public string CraftName { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        /// 工序编号
        /// </summary>
        public string ProcessCode { get; set; }
        /// <summary>
        /// 班组名称
        /// </summary>
        public string TeamName { get; set; }
        /// <summary>
        /// 任务负责人
        /// </summary>
        public string Leader { get; set; }
        /// <summary>
        /// 报工人员
        /// </summary>
        public string ReportingStaff { get; set; }
        /// <summary>
        /// 报工数量
        /// </summary>
        public int ReportingNumber { get; set; }
        /// <summary>
        /// 报工时间
        /// </summary>
        public DateTime ReportingTime { get; set; }
        /// <summary>
        /// 质检时间
        /// </summary>
        public DateTime QualityInspectionTime { get; set; }
        /// <summary>
        /// 合格
        /// </summary>
        public int Qualified { get; set; }
        /// <summary>
        /// 不合格
        /// </summary>
        public int NotQualified { get; set; }
        /// <summary>
        /// 合格率
        /// </summary>
        public int Rate { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdBy { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdTime { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
